package cn.onesdream.app.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * star
 * @author
 */
@Data
public class Star implements Serializable {
    /**
     * 事件id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 事件类型id
     */
    private Byte starId;

    /**
     * 事件发生时间
     */
    private LocalDateTime time;

    private static final long serialVersionUID = 1L;
}
